<style>
.boxQr {
	height: 35px;
}

.boxInQr {
	height: 30px;
}
</style>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<!-- 分页显示演示开始 -->
<div class="well form-search">
	<table class="table table-striped table-bordered table-condensed">
		<tr align="center">
			<td>
				订单编号：
				<span class="tBlue">${order.code }</span>
				- 货物列表
				<c:if test="${order.status.value == '已发货'}">
					- <a class="tRed" href="${ctx}/adoms/order/myEdit/${order.id}">确认收货</a>
				</c:if>
				<c:if test="${order.status.value == '已收货'}">
					- <span class="tBlue">已收货</span>
				</c:if>
				<a back="back" class="right">返回</a>
			</td>
		</tr>
	</table>
</div>
<table class="table table-striped table-bordered table-condensed">
	<thead>
		<tr>
			<th>#</th>
			<th>
				<a href="javascript:sort('marchandise')">所属商品</a>
			</th>
			<th>
				<a href="javascript:sort('department')">所属部门</a>
			</th>
			<th>
				<a href="javascript:sort('state')">状态</a>
			</th>
			<th>
				<a href="javascript:sort('wCode')">流水码</a>
			</th>
			<th>
				<a href="javascript:sort('qrCode')">货物二维码</a>
			</th>
			<th>入库时间</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="entity" items="${pageData.result}" varStatus="index">
			<tr <c:if test="${!entity.visible}">bgcolor="#AFEEEE"</c:if>>
				<td>${index.index + 1}</td>
				<td>${entity.marchandise.name}</td>
				<td>${entity.department.name}</td>
				<td class="tBlue">${entity.state}</td>
				<td class="tBlue">${entity.qrCode.wCode}</td>
				<td>
					${entity.qrCode.qrCode}
					<%-- 					<img class="boxQr" src="${ctx}/adoms/qrGoodsCode/qrImg?qr=${entity.qrCode.qrCode}" /> --%>
				</td>
				<td>
					<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${entity.insertTime}" />
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<%@ include file="/WEB-INF/jsp/commons/pager.jsp"%>